package com.wu.basic.dynamic.domain.uo;

import com.wu.framework.inner.lazy.stereotype.LazyTableField;
import com.wu.framework.inner.lazy.stereotype.LazyTableFieldUnique;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author : 吴佳伟
 * @version 1.0
 * @describe : 刷单信息
 * @date : 2021/5/13 9:58 下午
 */
@Accessors(chain = true)
@Data
public class BaseSwipe {
    @ApiParam(required = true)
    @LazyTableFieldUnique(comment = "请求路径")
    private String url;
    @ApiParam(value = "请求次数", example = "100")
    @LazyTableField(comment = "请求次数")
    private Long times ;
    @LazyTableField(comment = "当前请求次数")
    private Integer currentTimes ;
    @ApiParam(value = "请求间隔ms", example = "30000")
    @LazyTableField(comment = "请求间隔")
    private Long sleepTimes ;
    @ApiParam(value = "当前刷单信息是否存活", example = "true")
    @LazyTableField(comment = "当前刷单信息是否存活")
    private Boolean isActive = true;
}
